package com.yaodian100.ec.member.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.yaodian100.core.common.entity.BaseEntity;

@Entity
@Table(name = "EC_MEMBER_GREY_BOOK")
public class GreyBook extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4888373121799219284L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO, generator = "seq_ec_member_grey_book")
	@SequenceGenerator(name = "seq_ec_member_grey_book", sequenceName = "SEQ_EC_MEMBER_GREY_BOOK")
	@Column(name = "ID")
	private int id;

	@Column(name = "MEMBER_ID", nullable = false, length = 10)
	private String memberId;

	@Column(name = "BLOCK_STATUS", nullable = false, length = 1)
	private String blockStatus;

	@Column(name = "GREY_COUNT")
	private int greyCount;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public String getBlockStatus() {
		return blockStatus;
	}

	public void setBlockStatus(String blockStatus) {
		this.blockStatus = blockStatus;
	}

	public int getGreyCount() {
		return greyCount;
	}

	public void setGreyCount(int greyCount) {
		this.greyCount = greyCount;
	}

}
